﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using CommandExecutor;
using CommandExecutor;
using OpenNETCF.WindowsCE;

namespace RemoteWinceExecutor.Ce.Commands
{
    public enum RebootType
    {
        Hard,
        Soft,
    }

    class RebootCommand : Command<RebootType, Boolean>
    {
        public Boolean Call(RebootType param)
        {
            PowerManagement.SoftReset();
            return false;
        }
    }
}
